package com.changpay.zywy.bean;

import java.util.List;

public class EarningGroupBean {
    /**
     * price : {"available":"621.23","freeze":"0.00"}
     * earnings_info : {"group_earnings":[{"date":"12-19","earnings":"27.15"},{"date":"12-20","earnings":"16.53"},{"date":"12-21","earnings":"48.84"},{"date":"12-22","earnings":"55.29"},{"date":"12-23","earnings":"53.54"},{"date":"昨天","earnings":"56.65"},{"date":"今日","earnings":"73.50"}]}
     */

    private PriceBean price;
    private EarningsInfoBean earnings_info;

    public PriceBean getPrice() {
        return price;
    }

    public void setPrice(PriceBean price) {
        this.price = price;
    }

    public EarningsInfoBean getEarnings_info() {
        return earnings_info;
    }

    public void setEarnings_info(EarningsInfoBean earnings_info) {
        this.earnings_info = earnings_info;
    }

    public static class PriceBean {
        /**
         * available : 621.23
         * freeze : 0.00
         */

        private String available;
        private String freeze;

        public String getAvailable() {
            return available;
        }

        public void setAvailable(String available) {
            this.available = available;
        }

        public String getFreeze() {
            return freeze;
        }

        public void setFreeze(String freeze) {
            this.freeze = freeze;
        }
    }

    public static class EarningsInfoBean {
        private List<GroupEarningsBean> group_earnings;

        public List<GroupEarningsBean> getGroup_earnings() {
            return group_earnings;
        }

        public void setGroup_earnings(List<GroupEarningsBean> group_earnings) {
            this.group_earnings = group_earnings;
        }

        public static class GroupEarningsBean {
            /**
             * date : 12-19
             * earnings : 27.15
             */

            private String date;
            private String earnings;

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getEarnings() {
                return earnings;
            }

            public void setEarnings(String earnings) {
                this.earnings = earnings;
            }
        }
    }
}
